VitePos_Lite\Modules\POS_Payment S

Total Complexity 50
Dependencies 9
Dependents 4
Total lines 374
Lines of code 201
Logical lines of code 126
Comment lines 143
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
get_payment_methods()
S
58 6 16
check_gateways_settings()
S
59 6 14
update_payment_settings_bk()
S
53 5 22
update_payment_status_bk()
S
54 5 22
get_payment_methods_admin_settings()
S
62 4 12
payment_name_by_id()
S
64 3 10
is_enable_gw()
S
73 2 4
on_init()
S
65 2 9
is_enable_pm()
S
68 2 7
get_payment_gw_settings()
S
73 2 4
register_default_payment_methods()
S
62 1 13
get_active_methods()
S
64 1 11
update_payment_settings()
S
65 1 9
update_payment_status()
S
66 1 8
get_clients_payment_getways()
S
81 1 3
initialize()
S
65 1 8
get_payment_getways()
S
81 1 3
get_gw_new_obj()
S
68 1 7
footer_script()
S
82 1 3
prefetch_script()
S
82 1 3
check_user_access()
S
80 1 3
on_all_module_loaded()
S
81 1 3
get_admin_options()
S
68 1 7